package com.nzx.common.pagination;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 基本分页参数对象
 *
 * */
@Data
@ApiModel
public class BasePageQuery implements Serializable {

    @ApiModelProperty(value = "当前页", required = true, position = 0)
    private Integer page = 1;

    @ApiModelProperty(value = "每页显示数量", required = true, example = "10")
    private Integer limit = 10;

}
